package com.company.eos.controller.form.amecttype;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Song, Wei
 * Date: 2022/4/28 0:40
 */
@Data
@Schema(description = "查询罚款类型")
public class SearchAmectTypeByIdForm {
    @NotNull(message = "Id不能为空")
    @Min(value = 1, message = "Id不能小于1")
    @Schema(description = "罚款类型ID")
    private Integer id;
}
